#pragma once
#include "texture.hpp"
#include "../graph/color.hpp"
#include "../def.hpp"

class Checker :	public Texture
{
	private:
	Color firstColor,secondColor;
	public:
	Checker():Texture(),firstColor(0,0,0),secondColor(1,1,1){};
	Checker(Color NfirstColor, Color NsecondColor):Texture(),firstColor(NfirstColor),secondColor(NsecondColor){};
	Checker(Color NfirstColor, Color NsecondColor,Vector3D Nscale, Vector3D Noffset):Texture(Nscale, Noffset),firstColor(NfirstColor),secondColor(NsecondColor){};
	~Checker() {}
	void ApplyTexture(Color &objColor, Vector3D v);
};
